package cn.com.suiyi.shixingshengxian.commoditydetail.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * Created by hansen on 2016/7/22.
 */
public class Commodity {

    /**
     * success : 1
     * data : {"banner":[{"PictureId":11005,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11005_jpeg_640.jpeg"},{"PictureId":11006,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11006_jpeg_640.jpeg"},{"PictureId":11007,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11007_jpeg_640.jpeg"},{"PictureId":11008,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11008_jpeg_640.jpeg"}],"product":{"buy_end_time":"","number":"2201077","name":"西兰花","place":"中国  ","brand":"未知","store":"冷藏","published":"1","release_time":"2012-10-12 00:00:00","sell":"20713","present":"","stock_quantity":"0","out_stock":"0","DisplayStockAvailability":"False","reminder":null,"sx_price_name":"食行价","sx_price":"1.99","sp_weight":"500g","old_price_name":"市场价","old_price":"2.50","old_price_weight":"500g","rate_price":"1.79","rate_weight":"450g","standard":"","info":"","last_time_info":"此商品当日23:59:59前下单，可明日送达；超过时间可后日送达。","end_last_time":"","max_end_time":"","id":"55","max_qcp_end_time":"","collect":"0","TotalPoint":"5","ExsitReflex":"请您先登录","addCartTip":"","isFreeze":false},"productserives":[{"Id":"3","BGColor":"#2ccaa2","Name":"轻松退","WapUrl":"","ProductId":"55"},{"Id":"2","BGColor":"#9fd82a","Name":"限时配送","WapUrl":"","ProductId":"55"},{"Id":"1","BGColor":"#5ccae5","Name":"自提免运费","WapUrl":"","ProductId":"55"}],"promotionalActivities":[]}
     */

    @JSONField(name = "success")
    private int nullSuccess;
    /**
     * banner : [{"PictureId":11005,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11005_jpeg_640.jpeg"},{"PictureId":11006,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11006_jpeg_640.jpeg"},{"PictureId":11007,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11007_jpeg_640.jpeg"},{"PictureId":11008,"image":"http://images4bj-app.34580.com/images/ProductImages/SH_Image_11008_jpeg_640.jpeg"}]
     * product : {"buy_end_time":"","number":"2201077","name":"西兰花","place":"中国  ","brand":"未知","store":"冷藏","published":"1","release_time":"2012-10-12 00:00:00","sell":"20713","present":"","stock_quantity":"0","out_stock":"0","DisplayStockAvailability":"False","reminder":null,"sx_price_name":"食行价","sx_price":"1.99","sp_weight":"500g","old_price_name":"市场价","old_price":"2.50","old_price_weight":"500g","rate_price":"1.79","rate_weight":"450g","standard":"","info":"","last_time_info":"此商品当日23:59:59前下单，可明日送达；超过时间可后日送达。","end_last_time":"","max_end_time":"","id":"55","max_qcp_end_time":"","collect":"0","TotalPoint":"5","ExsitReflex":"请您先登录","addCartTip":"","isFreeze":false}
     * productserives : [{"Id":"3","BGColor":"#2ccaa2","Name":"轻松退","WapUrl":"","ProductId":"55"},{"Id":"2","BGColor":"#9fd82a","Name":"限时配送","WapUrl":"","ProductId":"55"},{"Id":"1","BGColor":"#5ccae5","Name":"自提免运费","WapUrl":"","ProductId":"55"}]
     * promotionalActivities : []
     */

    @JSONField(name = "data")
    private DataBean nullData;

    public int getSuccess() {
        return nullSuccess;
    }

    public void setSuccess(int success) {
        nullSuccess = success;
    }

    public DataBean getData() {
        return nullData;
    }

    public void setData(DataBean data) {
        nullData = data;
    }

    public static class DataBean {
        /**
         * buy_end_time :
         * number : 2201077
         * name : 西兰花
         * place : 中国
         * brand : 未知
         * store : 冷藏
         * published : 1
         * release_time : 2012-10-12 00:00:00
         * sell : 20713
         * present :
         * stock_quantity : 0
         * out_stock : 0
         * DisplayStockAvailability : False
         * reminder : null
         * sx_price_name : 食行价
         * sx_price : 1.99
         * sp_weight : 500g
         * old_price_name : 市场价
         * old_price : 2.50
         * old_price_weight : 500g
         * rate_price : 1.79
         * rate_weight : 450g
         * standard :
         * info :
         * last_time_info : 此商品当日23:59:59前下单，可明日送达；超过时间可后日送达。
         * end_last_time :
         * max_end_time :
         * id : 55
         * max_qcp_end_time :
         * collect : 0
         * TotalPoint : 5
         * ExsitReflex : 请您先登录
         * addCartTip :
         * isFreeze : false
         */

        @JSONField(name = "product")
        private ProductBean nullProduct;
        /**
         * PictureId : 11005
         * image : http://images4bj-app.34580.com/images/ProductImages/SH_Image_11005_jpeg_640.jpeg
         */

        @JSONField(name = "banner")
        private List<BannerBean> nullBanner;
        /**
         * Id : 3
         * BGColor : #2ccaa2
         * Name : 轻松退
         * WapUrl :
         * ProductId : 55
         */

        @JSONField(name = "productserives")
        private List<ProductserivesBean> nullProductserives;
        @JSONField(name = "promotionalActivities")
        private List<?> nullPromotionalActivities;

        public ProductBean getProduct() {
            return nullProduct;
        }

        public void setProduct(ProductBean product) {
            nullProduct = product;
        }

        public List<BannerBean> getBanner() {
            return nullBanner;
        }

        public void setBanner(List<BannerBean> banner) {
            nullBanner = banner;
        }

        public List<ProductserivesBean> getProductserives() {
            return nullProductserives;
        }

        public void setProductserives(List<ProductserivesBean> productserives) {
            nullProductserives = productserives;
        }

        public List<?> getPromotionalActivities() {
            return nullPromotionalActivities;
        }

        public void setPromotionalActivities(List<?> promotionalActivities) {
            nullPromotionalActivities = promotionalActivities;
        }

        public static class ProductBean {
            @JSONField(name = "buy_end_time")
            private String nullBuyEndTime;
            @JSONField(name = "number")
            private String nullNumber;
            @JSONField(name = "name")
            private String nullName;
            @JSONField(name = "place")
            private String nullPlace;
            @JSONField(name = "brand")
            private String nullBrand;
            @JSONField(name = "store")
            private String nullStore;
            @JSONField(name = "published")
            private String nullPublished;
            @JSONField(name = "release_time")
            private String nullReleaseTime;
            @JSONField(name = "sell")
            private String nullSell;
            @JSONField(name = "present")
            private String nullPresent;
            @JSONField(name = "stock_quantity")
            private String nullStockQuantity;
            @JSONField(name = "out_stock")
            private String nullOutStock;
            @JSONField(name = "DisplayStockAvailability")
            private String nullDisplayStockAvailability;
            @JSONField(name = "reminder")
            private Object nullReminder;
            @JSONField(name = "sx_price_name")
            private String nullSxPriceName;
            @JSONField(name = "sx_price")
            private String nullSxPrice;
            @JSONField(name = "sp_weight")
            private String nullSpWeight;
            @JSONField(name = "old_price_name")
            private String nullOldPriceName;
            @JSONField(name = "old_price")
            private String nullOldPrice;
            @JSONField(name = "old_price_weight")
            private String nullOldPriceWeight;
            @JSONField(name = "rate_price")
            private String nullRatePrice;
            @JSONField(name = "rate_weight")
            private String nullRateWeight;
            @JSONField(name = "standard")
            private String nullStandard;
            @JSONField(name = "info")
            private String nullInfo;
            @JSONField(name = "last_time_info")
            private String nullLastTimeInfo;
            @JSONField(name = "end_last_time")
            private String nullEndLastTime;
            @JSONField(name = "max_end_time")
            private String nullMaxEndTime;
            @JSONField(name = "id")
            private String nullId;
            @JSONField(name = "max_qcp_end_time")
            private String nullMaxQcpEndTime;
            @JSONField(name = "collect")
            private String nullCollect;
            @JSONField(name = "TotalPoint")
            private String nullTotalPoint;
            @JSONField(name = "ExsitReflex")
            private String nullExsitReflex;
            @JSONField(name = "addCartTip")
            private String nullAddCartTip;
            @JSONField(name = "isFreeze")
            private boolean nullIsFreeze;

            public String getBuyEndTime() {
                return nullBuyEndTime;
            }

            public void setBuyEndTime(String buyEndTime) {
                nullBuyEndTime = buyEndTime;
            }

            public String getNumber() {
                return nullNumber;
            }

            public void setNumber(String number) {
                nullNumber = number;
            }

            public String getName() {
                return nullName;
            }

            public void setName(String name) {
                nullName = name;
            }

            public String getPlace() {
                return nullPlace;
            }

            public void setPlace(String place) {
                nullPlace = place;
            }

            public String getBrand() {
                return nullBrand;
            }

            public void setBrand(String brand) {
                nullBrand = brand;
            }

            public String getStore() {
                return nullStore;
            }

            public void setStore(String store) {
                nullStore = store;
            }

            public String getPublished() {
                return nullPublished;
            }

            public void setPublished(String published) {
                nullPublished = published;
            }

            public String getReleaseTime() {
                return nullReleaseTime;
            }

            public void setReleaseTime(String releaseTime) {
                nullReleaseTime = releaseTime;
            }

            public String getSell() {
                return nullSell;
            }

            public void setSell(String sell) {
                nullSell = sell;
            }

            public String getPresent() {
                return nullPresent;
            }

            public void setPresent(String present) {
                nullPresent = present;
            }

            public String getStockQuantity() {
                return nullStockQuantity;
            }

            public void setStockQuantity(String stockQuantity) {
                nullStockQuantity = stockQuantity;
            }

            public String getOutStock() {
                return nullOutStock;
            }

            public void setOutStock(String outStock) {
                nullOutStock = outStock;
            }

            public String getDisplayStockAvailability() {
                return nullDisplayStockAvailability;
            }

            public void setDisplayStockAvailability(String displayStockAvailability) {
                nullDisplayStockAvailability = displayStockAvailability;
            }

            public Object getReminder() {
                return nullReminder;
            }

            public void setReminder(Object reminder) {
                nullReminder = reminder;
            }

            public String getSxPriceName() {
                return nullSxPriceName;
            }

            public void setSxPriceName(String sxPriceName) {
                nullSxPriceName = sxPriceName;
            }

            public String getSxPrice() {
                return nullSxPrice;
            }

            public void setSxPrice(String sxPrice) {
                nullSxPrice = sxPrice;
            }

            public String getSpWeight() {
                return nullSpWeight;
            }

            public void setSpWeight(String spWeight) {
                nullSpWeight = spWeight;
            }

            public String getOldPriceName() {
                return nullOldPriceName;
            }

            public void setOldPriceName(String oldPriceName) {
                nullOldPriceName = oldPriceName;
            }

            public String getOldPrice() {
                return nullOldPrice;
            }

            public void setOldPrice(String oldPrice) {
                nullOldPrice = oldPrice;
            }

            public String getOldPriceWeight() {
                return nullOldPriceWeight;
            }

            public void setOldPriceWeight(String oldPriceWeight) {
                nullOldPriceWeight = oldPriceWeight;
            }

            public String getRatePrice() {
                return nullRatePrice;
            }

            public void setRatePrice(String ratePrice) {
                nullRatePrice = ratePrice;
            }

            public String getRateWeight() {
                return nullRateWeight;
            }

            public void setRateWeight(String rateWeight) {
                nullRateWeight = rateWeight;
            }

            public String getStandard() {
                return nullStandard;
            }

            public void setStandard(String standard) {
                nullStandard = standard;
            }

            public String getInfo() {
                return nullInfo;
            }

            public void setInfo(String info) {
                nullInfo = info;
            }

            public String getLastTimeInfo() {
                return nullLastTimeInfo;
            }

            public void setLastTimeInfo(String lastTimeInfo) {
                nullLastTimeInfo = lastTimeInfo;
            }

            public String getEndLastTime() {
                return nullEndLastTime;
            }

            public void setEndLastTime(String endLastTime) {
                nullEndLastTime = endLastTime;
            }

            public String getMaxEndTime() {
                return nullMaxEndTime;
            }

            public void setMaxEndTime(String maxEndTime) {
                nullMaxEndTime = maxEndTime;
            }

            public String getId() {
                return nullId;
            }

            public void setId(String id) {
                nullId = id;
            }

            public String getMaxQcpEndTime() {
                return nullMaxQcpEndTime;
            }

            public void setMaxQcpEndTime(String maxQcpEndTime) {
                nullMaxQcpEndTime = maxQcpEndTime;
            }

            public String getCollect() {
                return nullCollect;
            }

            public void setCollect(String collect) {
                nullCollect = collect;
            }

            public String getTotalPoint() {
                return nullTotalPoint;
            }

            public void setTotalPoint(String totalPoint) {
                nullTotalPoint = totalPoint;
            }

            public String getExsitReflex() {
                return nullExsitReflex;
            }

            public void setExsitReflex(String exsitReflex) {
                nullExsitReflex = exsitReflex;
            }

            public String getAddCartTip() {
                return nullAddCartTip;
            }

            public void setAddCartTip(String addCartTip) {
                nullAddCartTip = addCartTip;
            }

            public boolean isIsFreeze() {
                return nullIsFreeze;
            }

            public void setIsFreeze(boolean isFreeze) {
                nullIsFreeze = isFreeze;
            }
        }

        public static class BannerBean {
            @JSONField(name = "PictureId")
            private int nullPictureId;
            @JSONField(name = "image")
            private String nullImage;

            public int getPictureId() {
                return nullPictureId;
            }

            public void setPictureId(int pictureId) {
                nullPictureId = pictureId;
            }

            public String getImage() {
                return nullImage;
            }

            public void setImage(String image) {
                nullImage = image;
            }
        }

        public static class ProductserivesBean {
            @JSONField(name = "Id")
            private String nullId;
            @JSONField(name = "BGColor")
            private String nullBGColor;
            @JSONField(name = "Name")
            private String nullName;
            @JSONField(name = "WapUrl")
            private String nullWapUrl;
            @JSONField(name = "ProductId")
            private String nullProductId;

            public String getId() {
                return nullId;
            }

            public void setId(String id) {
                nullId = id;
            }

            public String getBGColor() {
                return nullBGColor;
            }

            public void setBGColor(String bGColor) {
                nullBGColor = bGColor;
            }

            public String getName() {
                return nullName;
            }

            public void setName(String name) {
                nullName = name;
            }

            public String getWapUrl() {
                return nullWapUrl;
            }

            public void setWapUrl(String wapUrl) {
                nullWapUrl = wapUrl;
            }

            public String getProductId() {
                return nullProductId;
            }

            public void setProductId(String productId) {
                nullProductId = productId;
            }
        }
    }
}
